/**
 * 
 */
package com.expense.util;

import java.util.List;

/**
 * @author Administrator
 *
 */
public class MailBean {
	private String hostName=ConfigUtil.sysEmilHost;
	private String username=ConfigUtil.sysEmailUserName;//用户名
	private String password=ConfigUtil.sysEmailPassword;//用户密码
	
	private String title;//邮件标题
	private String content;//邮件内容
	private String[] tosUser;//发送
	private String[] ccsUser;//抄送
	private String[] bccsUser;//暗送
	private List files;
	public String getHostName() {
		return this.hostName;
	}
	public void setHostName(String hostName) {
		this.hostName = hostName;
	}
	public String getUsername() {
		return this.username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return this.password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTitle() {
		return this.title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return this.content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String[] getTosUser() {
		return this.tosUser;
	}
	public void setTosUser(String[] tosUser) {
		this.tosUser = tosUser;
	}
	public String[] getCcsUser() {
		return this.ccsUser;
	}
	public void setCcsUser(String[] ccsUser) {
		this.ccsUser = ccsUser;
	}
	public String[] getBccsUser() {
		return this.bccsUser;
	}
	public void setBccsUser(String[] bccsUser) {
		this.bccsUser = bccsUser;
	}
	public List getFiles() {
		return this.files;
	}
	public void setFiles(List files) {
		this.files = files;
	}
	
	/**
	 * @param hostName
	 * @param username
	 * @param password
	 * @param title
	 * @param content
	 * @param tosUser
	 * @param ccsUser
	 * @param bccsUser
	 * @param files
	 */
	public MailBean() {
		
	}
	public MailBean(String hostName, String username, String password,
			String title, String content, String[] tosUser, String[] ccsUser,
			String[] bccsUser, List files) {
		super();
		this.hostName = hostName;
		this.username = username;
		this.password = password;
		this.title = title;
		this.content = content;
		this.tosUser = tosUser;
		this.ccsUser = ccsUser;
		this.bccsUser = bccsUser;
		this.files = files;
	}
	public MailBean(String hostName, String username, String password,
			String title, String content, String[] tosUser, List files) {
		super();
		this.hostName = hostName;
		this.username = username;
		this.password = password;
		this.title = title;
		this.content = content;
		this.tosUser = tosUser;
		this.files = files;
	}
	
	
}
